<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>

<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
	<meta charset="utf-8" />
	<title><?php echo ($webtitle); ?>－管理后台</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1.0" name="viewport" />
	<meta content="" name="description" />
	<meta content="" name="author" />
	   <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
 
	<!-- BEGIN GLOBAL MANDATORY STYLES -->          
	
	<link href="/Public/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
	<link href="/Public/css/admin.css" rel="stylesheet" type="text/css"/>
	<link href="/Public/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
	<!-- END GLOBAL MANDATORY STYLES -->
	<!-- BEGIN THEME STYLES --> 
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="/Public/js/html5shiv.min.js"></script>
        <script src="/Public/js/respond.min.js"></script>
    <![endif]-->
	<!-- END THEME STYLES -->
	
	


	
</head>
<!-- BEGIN BODY -->
<body>

<!-- BEGIN nav -->
	 <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>网站管理系统-后台</title>
<link rel="stylesheet" type="text/css" href="/Public/Static/css/global.css" /><link rel="stylesheet" type="text/css" href="/Public/Static/css/bootstrap.min.css" /><link rel="stylesheet" type="text/css" href="/Public/Admin/Default/css/style.css" />
<script type="text/javascript">
  var GV = {
    JS_VERSION : '20130702',                      //js版本号(不能带空格)
    REGION_CONFIG : '',
    JS_ROOT       : './Public/Static/js/dev/',
    URL : {
      REGION : "index.php?app=home&ac=api&c=area",
      SCHOOL : "index.php?app=home&ac=api&c=school",                //学校数据
      EMOTIONS : "index.php?app=home&ac=api&c=emotions",
    },
  }
</script>
<script type="text/javascript" src="/Public/Static/js/jquery.js"></script><script type="text/javascript" src="/Public/Static/js/core.js"></script><script type="text/javascript" src="/Public/Static/js/global.js"></script><script type="text/javascript" src="/Public/Static/js/config.js"></script><script type="text/javascript" src="/Public/Static/js/common.js"></script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script type="text/javascript" src="/Public/Static/js/respond.src.js"></script><script type="text/javascript" src="/Public/Static/js/html5.js"></script>
<link rel="stylesheet" type="text/css" href="/Public/Static/css/bootstrap-ie78.css" />
<![endif]-->
</head>
<body>
<div class="container-fluid">

<?php if(!empty($top_nav)): ?><ul class="nav nav-tabs">
    <?php if(is_array($top_nav)): $i = 0; $__LIST__ = $top_nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if($vo['right'] == '1'): ?><span class=" pull-right" style="padding-right:5px;"><a class="btn btn-primary" href="<?php echo ($vo['url']); ?>"><?php echo ($vo['name']); ?></a> </span>
    <?php else: ?>
    <li class="<?php if(in_array(ACTION_NAME,$vo['tab'])): ?>active<?php endif; ?>"><a href="<?php echo ($vo['url']); ?>"><?php echo ($vo['name']); ?></a></li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
  </ul><?php endif; ?>
<!-- end nav -->

<!-- begin container -->

<div class=" container " style="margin-top:60px">

<div class="row">
     <div class=" col-lg-2 col-md-2 col-xs-12">
	 
	 <ul class="list-group list-unstyled">

 <li class=""> <a href="" class="list-group-item active" > <i class="fa fa fa-gear"></i> 基本设置 </a></li>

  <li class=""> <a href="<?php echo U('Config/index/');?>" class="list-group-item"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;网站信息 </a></li>
  
 <li class=""> <a href="<?php echo U('Member/shoporder/');?>" class="list-group-item active"> <i class="fa fa-list-ul"></i> 外卖管理 </a></li>
<li class=""> <a href="<?php echo U('Member/shoporder/');?>" class="list-group-item"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;外卖订单 </a></li>
<li class=""> <a href="<?php echo U('Foodcat/index/');?>" class="list-group-item"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;商品分类</a></li>
<li class=""> <a href="<?php echo U('Food/index/');?>" class="list-group-item"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;商品管理</a></li>
 
 
  <li class=""> <a href="<?php echo U('Articlecate/index/');?>" class="list-group-item active"> <i class="fa fa-calendar"></i> 文章模块</a> </li>
  
<?php if(is_array($leftlist)): $i = 0; $__LIST__ = $leftlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class=""> <a href="<?php echo U('Article/alist/','id='.$vo['acid']);?>" class="list-group-item"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo ($vo["aname"]); ?> </a></li><?php endforeach; endif; else: echo "" ;endif; ?>


  
 
  <li class=""> <a href="<?php echo U('Page/index/');?>" class="list-group-item active"> <i class="fa fa-list-ul"></i> 单页模块 </a></li>
 <?php if(is_array($pageslist)): $i = 0; $__LIST__ = $pageslist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class=""> <a href="<?php echo U('Page/edit/','id='.$vo['pagid']);?>" class="list-group-item"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo ($vo["page_title"]); ?> </a></li><?php endforeach; endif; else: echo "" ;endif; ?>


 
</ul> 
	 
	
	 </div>
	  <div class="col-lg-10 col-md-10 col-xs-12" style="background-color: #FFF;">
	  
        
		
		<!-- begin tab -->
	      <ul class="nav nav-tabs " >
                 <li ><a href="<?php echo U('Link/index/');?>" ><b>友情链接</b></a></li>
			  <li class="active"><a href="<?php echo U('Link/add/');?>" ><b>友情链接增加</b></a></li>
			
			 
			 
          
          </ul>
		  <p></P>
		  
    
           <div class="row"> 
             <div class="col-lg-2 col-md-2 col-xs-2" ></div>
			 <div class="col-lg-6 col-md-6 col-xs-6" ><span class="help-block"></span></div>
			 <div class="col-lg-4 col-md-4 col-xs-4" ></div>
		  
		  </div>
		  <p></P>






   
  

<form class="form-horizontal" role="form" enctype="multipart/form-data"  method="post" action="/<?php echo (MODULE_NAME); ?>/addsave">
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">网站名称</label>
    <div class="col-sm-6">
      <input type="text" class="form-control" id="inputEmail3" name="linkname"  >
	 

    </div>
	<div class="col-sm-4">
<span class="help-block"> </span></span>
 </div>
  </div>
<!--   <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">分类目录</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="inputEmail3" name="dir"  placeholder="">

    </div>
	<div class="col-sm-6">
<span class="help-block"><i class="fa fa-exclamation"></i> 请输入分类目录名称，必须英文字符</span></span>
 </div>
  </div>-->
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">链接地址</label>
    <div class="col-sm-6">
     
		 <input type="text" class="form-control" id="inputEmail3" name="link"  value="http://">											
													
												
	  
						
	  
    </div>
	<div class="col-sm-4"><span class="help-block">   </span></div>
  </div>

  <hr>
		  <div class="form-group">
    <label for="inputPassword3" class="col-sm-4 control-label"></label>
    <div class="col-sm-2">
   
       
        <button type="sumbit" class="btn btn-primary">保存</button>
 
	  
    </div>
	<div class="col-sm-6"><span class="help-block"> </div>
  </div>

  
</form>


			  
	
	

			  
			  
			
             
	
     

	  
	  
	  
	
	 </div><!-- col end -->

</div><!-- end row -->


  


    
</div><!-- end container -->


    
         
	


	
<!-- /.modal -->



				
				
			
	

	
	
	
	
	
	
	
	
	
	<!-- END FOOTER -->
	<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
	<!-- BEGIN CORE PLUGINS -->   

	<!-- 配置文件 -->

	
	
    <script src="/Public/js/jquery.js"></script>
    <script src="/Public/js/bootstrap.min.js"></script> 
	






<script >
	
	$('#myModal').on('hidden.bs.modal', function (e) {
	location.reload()

})
$('#ajax').on('hidden.bs.modal', function (e) {
	location.reload()

})


function delcfm() {
if (!confirm("确认要删除？")) {
window.event.returnValue = false;
}
}




</script>	

	<!-- END CORE PLUGINS -->
	
	<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>